\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 Proper Use of HashTable Objects\
\
Q:
\fc0 How do I use the arguments to the various methods on HashTable ? I don't understand the mechanics of HashTable storage of my data.\
\i \
\i0 A: The following code snippet shows how the arguments to the various methods on HashTable should be used. Note that even though data can be stored in the hash table as
\b int
\b0 ,
\b char *
\b0 ,
\b id
\b0 ,
\b void *
\b0 , or any other 32-bit quantity that can be described by a type string, the arguments of the hash table methods, such as\
\b insertKey:value:
\b0 ,
\b nextState:key:value
\b0 ,
\b valueForKey:
\b0 have to be casted to void * or const void * respectively. See the documentation on Hash Table for more details. \